<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>乡村教育平台 —— 教育数字化进展专题报道</title>
    <!-- 样式表整合 -->
    <%@ include file="start.jsp"%>
    <link rel="stylesheet" href="css/news-style.css"> <!-- 新增新闻专用样式 -->
    <link rel="stylesheet" href="css/bootstrap-integration.css"> <!-- 定制Bootstrap主题 -->
    <style>
        /* 内联关键样式保障首屏加载 */
        .news-article { max-width: 800px; margin: 0 auto; }
        .news-title { font-size: 2.2rem; line-height: 1.3; }
        .news-meta { color: #6c757d; font-size: 0.9rem; }

        /* 增强型导航样式 */
        .news-navbar {
            background-color: #f8f9fa;
            padding: 0.5rem 1rem;
            border-bottom: 1px solid #ddd;
        }
        .news-navbar .navbar-brand {
            margin-right: auto;
        }
        .news-navbar .btn-outline-primary {
            margin-right: 0.5rem;
        }

        /* 新闻主体样式 */
        .news-container {
            margin-top: 20px;
        }
        .news-header {
            margin-bottom: 20px;
        }
        .news-stats {
            display: flex;
            justify-content: space-around;
            margin-bottom: 20px;
        }
        .stat-item {
            text-align: center;
        }
        .stat-value {
            font-size: 1.5rem;
            font-weight: bold;
        }
        .stat-label {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .news-quote {
            margin-top: 20px;
            margin-bottom: 20px;
            padding: 20px;
            background-color: #f8f9fa;
            border-left: 5px solid #007bff;
        }
        .news-quote p {
            font-size: 1.1rem;
            color: #333;
        }
        .news-quote .blockquote-footer {
            color: #6c757d;
        }

        /* 响应式数据表格样式 */
        .news-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        .news-table caption {
            caption-side: top;
            font-size: 1.2rem;
            margin-bottom: 10px;
        }
        .news-table th, .news-table td {
            padding: 10px 15px;
            border: 1px solid #ddd;
            text-align: left;
        }
        .news-table th {
            background-color: #f8f9fa;
        }
        .news-table tr:nth-child(even) {
            background-color: #f2f2f2;
        }

        /* 目录样式 */
        .news-toc {
            border-bottom: 1px solid #ddd;
            padding-bottom: 10px;
            margin-bottom: 20px;
        }
        .news-toc a {
            color: #007bff;
            text-decoration: none;
            margin-right: 10px;
        }
        .news-toc a:hover {
            text-decoration: underline;
        }

        /* 相关阅读样式 */
        .news-related {
            margin-top: 20px;
        }
        .news-related ul {
            list-style-type: none;
            padding: 0;
        }
        .news-related ul li {
            margin-bottom: 10px;
        }
        .news-related ul li a {
            color: #007bff;
            text-decoration: none;
        }
        .news-related ul li a:hover {
            text-decoration: underline;
        }

        /* 底部信息样式 */
        .footer {
            margin-top: 40px;
            background-color: #343a40;
            color: #ffffff;
            padding: 20px 0;
            text-align: center;
        }
        .footer a {
            color: #ffffff;
            text-decoration: none;
        }
        .footer a:hover {
            text-decoration: underline;
        }

        /* 图片灯箱样式 */
        .img-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        .img-overlay img {
            max-width: 90%;
            max-height: 90%;
        }
    </style>
</head>
<body>
<!-- 增强型导航 -->
<nav class="navbar news-navbar">
    <div class="container">
        <a class="navbar-brand" href="#">
            <img src="images/3.jpg" alt="乡村教育平台" height="40">
        </a>
        <div class="d-flex">
            <a href="news.jsp" class="btn btn-outline-primary">返回新闻列表</a>
        </div>
    </div>
</nav>

<!-- 新闻主体 -->
<main class="news-container">
    <article class="news-article">
        <header class="news-header">
            <h1 class="news-title">集成化激发教育数字化澎湃动能 ——我国教育数字化进展系列综述之一</h1>
            <div class="news-meta">
                <span>发布时间：2025.05.12</span>
                <span class="mx-2">|</span>
                <span>来源：中国教育新闻网</span>
                <span class="mx-2">|</span>
                <span>记者：张欣</span>
            </div>
            <div class="news-tags">
                <a href="#" class="badge badge-pill badge-info">教育数字化</a>
                <a href="#" class="badge badge-pill badge-info">智慧教育</a>
            </div>
        </header>

        <figure class="news-hero">
            <img src="images/2.jpg" alt="智慧课堂实景" class="img-fluid rounded">
            <figcaption class="text-muted mt-2">宁夏西吉县学生在智慧教室上课（资料图片）</figcaption>
        </figure>

        <div class="news-body">
            <section class="news-section">
                <p class="lead">顺着网络，优质教育飞天越海、翻山越岭，智慧课堂穿云破雾、跨域连城。</p>
                <p>时间的指针拨回2022年，那一年，国家智慧教育公共服务平台重磅上线。以此为标志，国家教育数字化战略行动驶入“快车道”。</p>
            </section>

            <section class="news-section">
                <h3 class="news-subtitle">串珠成链，优质资源从“孤岛”到“互联”</h3>
                <div class="news-stats">
                    <div class="stat-item">
                        <div class="stat-value">1.64亿</div>
                        <div class="stat-label">平台注册用户</div>
                    </div>
                    <div class="stat-item">
                        <div class="stat-value">613亿</div>
                        <div class="stat-label">累计访问量</div>
                    </div>
                </div>
                <p>当前，我国建成了全球最大的公共教育资源平台...</p>
            </section>

            <blockquote class="news-quote">
                <p>“我们正在开发`3to4`转换器，目标是在2025年底前帮助80%的现存代码平滑过渡。”</p>
                <footer class="blockquote-footer">Python之父Guido van Rossum</footer>
            </blockquote>

            <!-- 响应式数据表格 -->
            <div class="table-responsive">
                <table class="news-table">
                    <caption>2025年教育数字化关键指标</caption>
                    <thead>
                    <tr>
                        <th>指标类别</th>
                        <th>完成度</th>
                        <th>覆盖率</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>智慧校园建设</td>
                        <td>85%</td>
                        <td>全国县级区域</td>
                    </tr>
                    <!-- 更多数据行 -->
                    </tbody>
                </table>
            </div>
        </div>

        <footer class="news-footer">
            <div class="news-share">
                <span>分享至：</span>
                <a href="#" class="btn btn-sm btn-light"><i class="icon-wechat"></i></a>
                <a href="#" class="btn btn-sm btn-light"><i class="icon-weibo"></i></a>
            </div>
            <div class="news-related">
                <h4>相关阅读</h4>
                <ul>
                    <li><a href="#">2025年全国教师信息技术能力提升计划解读</a></li>
                    <li><a href="#">乡村教育振兴三年行动计划成果展</a></li>
                </ul>
            </div>
        </footer>
    </article>
</main>

<!-- 交互增强 -->
<script>
    document.addEventListener('DOMContentLoaded', function() {
        // 图片灯箱效果
        document.querySelectorAll('.news-hero img').forEach(img => {
            img.onclick = () => {
                const overlay = document.createElement('div');
                overlay.className = 'img-overlay';
                overlay.innerHTML = `<img src="${img.src}" alt="大图预览">`;
                document.body.appendChild(overlay);
                overlay.onclick = () => overlay.remove();
            }
        });

        // 目录自动生成
        const headings = document.querySelectorAll('.news-subtitle');
        const toc = document.createElement('div');
        toc.className = 'news-toc';
        headings.forEach((h3, index) => {
            const link = document.createElement('a');
            link.href = `#section${index}`;
            link.textContent = h3.textContent;
            toc.appendChild(link);
            h3.id = `section${index}`;
        });
        document.querySelector('.news-body').prepend(toc);
    });
</script>
</body>
</html>
